<template>
    <div id="allstyle">
        <el-container>
            <el-aside width="200px">
                <asidemenu></asidemenu>
            </el-aside>
            <el-main>
                <one v-if="this.$store.state.oneShow"></one>
                <two v-if="this.$store.state.twoShow"></two>
            </el-main>
        </el-container>
    </div>
</template>

<script>
    import asidemenu from './asidemenu.vue'
    import one from './one.vue'
    import two from './two.vue'
    export default {
        name: 'login',
        data() {
            return { 
            }
        },
        components: {
            asidemenu,
            one,
            two
        },
        methods: {
            handleSelect(key, keyPath) {
                console.log(key, keyPath);
            },
            goBack() {
                this.$router.history.go(-1);
            }
        }
    }
</script>

<style scoped>
</style>